﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="ShowroomMobile.Contact"
    Theme="tbmobile" Title="Contact to Us" MasterPageFile="~/Site.Master" %>

<asp:Content runat="server" ID="cContact" ContentPlaceHolderID="ContentPlaceHolder1">
    <script type="text/javascript" src="scripts/jquery.MultiFile.js"></script>
    <div id="main">
        <div class="container-form">
            <h1>
                Contact to Us</h1>
            <div class="contact-form">
                <table cellpadding="5" cellspacing="0" width="100%">
                    <tr>
                        <td style="width: 200px">
                            Title <span class="required">*</span>
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtTitle" Width="350px" CssClass="txt" ValidationGroup="submit" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage=""
                                    ControlToValidate="txtTitle" ValidationGroup="submit"></asp:RequiredFieldValidator>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td valign="top">
                            Message <span class="required">*</span>
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtMessage" Width="350px" TextMode="MultiLine" Rows="10"
                                    CssClass="txt" ValidationGroup="submit" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage=""
                                    ControlToValidate="txtMessage" ValidationGroup="submit"></asp:RequiredFieldValidator>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Your Name <span class="required">*</span>
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtYourName" Width="350px" CssClass="txt" ValidationGroup="submit" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage=""
                                    ControlToValidate="txtYourName" ValidationGroup="submit"></asp:RequiredFieldValidator>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Your Company
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtYourCompany" Width="350px" CssClass="txt" />
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Email <span class="required">*</span>
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtEmail" Width="350px" CssClass="txt" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage=""
                                    ControlToValidate="txtEmail" ValidationGroup="submit"></asp:RequiredFieldValidator>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Phone <span class="required">*</span>
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtPhone" Width="350px" CssClass="txt" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage=""
                                    ControlToValidate="txtPhone" ValidationGroup="submit"></asp:RequiredFieldValidator>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Address
                        </td>
                        <td>
                            <div>
                                <asp:TextBox runat="server" ID="txtAddress" Width="350px" CssClass="txt" /></div>
                        </td>
                    </tr>
                </table>
                <table cellpadding="5" cellspacing="0" width="100%">
                    <tr>
                        <td style="width: 200px">
                            Attactment File(s)
                        </td>
                        <td>
                            <asp:FileUpload runat="server" ID="fulAttachmentFile" class="multi" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <div>
                                <asp:Button runat="server" ID="btnSubmit" Text="Submit" ValidationGroup="submit"
                                    OnClick="btnSubmit_Click" /></div>
                        </td>
                    </tr>
                </table>
                <span class="required">*</span> Required
            </div>
        </div>
    </div>
</asp:Content>
